package com.luguangtao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @类名: com.luguangtao
 * @作者: lgt
 * @创建时间: 2019-12-16 08:44
 * @描述:
 **/
@RestController
@SpringBootApplication
public class ServerApp {
    public static void main(String[] args) {
        SpringApplication.run(ServerApp.class);
    }

    @RequestMapping("testHealth")
    public String testHealth(){
        System.out.println("服务端健康***");
        return "server--->ok";
    }
}
